package com.example.weight.m3u8;

import java.util.ArrayList;

public class M3U8File
{
    public static int PLAY_LIST;
    public static int STREAM;
    public static int STREAM_LIST;
    public boolean allowCache;
    public String content;
    public ArrayList<String> keyList;
    public ArrayList<M3U8ListItem> m3u8List;
    public int targetDuration;
    public int type;
    public ArrayList<String> urlList;

    static {
        M3U8File.STREAM_LIST = 1;
        M3U8File.PLAY_LIST = 2;
        M3U8File.STREAM = 3;
    }

    public M3U8File() {
        this.keyList = new ArrayList<String>();
        this.urlList = new ArrayList<String>();
    }

    public boolean isEmpty() {
        return this.urlList.isEmpty();
    }
}

class M3U8ListItem
{
    public int bandwidth;
    public int programId;
    public String url;
}
